package com.example.springbootthymeleaf.mapper;

import com.example.springbootthymeleaf.entity.User;
import com.example.springbootthymeleaf.vo.QueryVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    int deleteByPrimaryKey(String id);

    int insert(User record);

    User selectByPrimaryKey(String id);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    List<User> search(QueryVo queryVo);

    int deleteByIds(String[] ids);
}